package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.UacMerchant;
import com.csun.cmny.provider.model.dto.merchant.MerchantPersonageSelectDto;
import com.csun.cmny.provider.model.dto.merchant.MerchantQueryDto;
import com.csun.cmny.provider.model.vo.merchant.MerchantVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface UacMerchantMapper extends Mapper<UacMerchant> {
    List<MerchantVo> selectMerchant(MerchantQueryDto merchantQueryDto);

    /*
    * 根据用户id查询商家信息
    * */
    List<MerchantVo> listMerchantByIdList(@Param("idList") List<Long> userList);

    List<MerchantVo> selectPersonage(MerchantPersonageSelectDto merchantPersonageSelectDto);
}
